//
//  PhotoBaseManager.h
//  Filmax Pictures
//
//  Created by Jonas on 16/8/19.
//  Copyright © 2016年 Jonas. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "ZLPhotoPickerBrowserViewController.h"
//#import "SettingHeader.h"
//#import "HelpObject.h"

@interface PhotoBaseManager : NSObject<ZLPhotoPickerBrowserViewControllerDelegate,UINavigationControllerDelegate,UIImagePickerControllerDelegate>

@property (nonatomic, weak) ZLPhotoPickerBrowserViewController *pickerBrowser;
//获取照片
@property (nonatomic, copy) void (^getPhotoImage)(NSData *imageData);



//删除照片
@property (nonatomic, copy) void (^deletPicture)(NSInteger num);

+ (PhotoBaseManager *)photoBaseShareManage;

//图片浏览
- (void)tapBrowser:(NSInteger)selectIndext imageMutableArray:(NSMutableArray *)imageMutableArray viewController:(UIViewController * )viewController;

//拍摄照片
- (void)getPhotoPicture:(UIViewController *)viewController type:(NSInteger)fromType;

//没有权限时跳入照片服务开启功能
+ (void)openCameraFunction;

//判断拍照权限
+ (BOOL)judgeTheRootOpenCamera;

//提示拍照权限
+ (void)enterTheCameraFunction:(UIViewController *)viewController;

@end
